<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="李愧愧">
    <title></title>
    <style>
        
    </style>
</head>
<body>
    
<script>
    var str = 'fhbksackjab';
    var arr = str.substr('');
    var newa = [];
    for(var i=0;i<=arr.length;i++){
        newa.unshift(arr[i]);
    }
    str = newa.join('');
    document.write(str);
</script>
</body>
<ml>